PCs are using the same network cable, this time, this interface is set to trunk mode, the telephone with a tagged data transmission, PC can not play, The switch transmits the native VLAN tag to the data by the implied switchport trunk native VLAN 1 when it receives the data that is not tagged. VLAN is also a security risk, hackers use VLAN hopping through the VL
Note: The router is used for simulation.
PC
Host
Step 1: Configure
PC
Of
IP
Address.
Step 2:
PC1
Upper
Ping
All other hosts are accessible.
Step 3: Set
Switch1
And
Switch2
Of
Fa0/12
The direct connection interface
SW1 (config) # inte fa0/12SW1 (config-If )#Switchport trunk encapsulation dot1qSW1 (config-If )#
0000.0c3f.0b05 DYNAMIC FA0/121 0030.94e6.391d DYNAMIC FA0/111 00e0.b05a.5bfe DYNAMIC FA0/101 1111.1111.a111 STATIC FA0/15. Set the switch port access mode (three kinds) Access/dynamic/trunkSW1 (config-if) #switchport mode?Access Set trunking mode to ACCESS unconditionallyDynamic Set trunking mode to dynamically negotiate access or trunk modeTrunk Set trunking mode to T
vlan 10 on inter e0/2 is untagged, the switch removes the vlan10 mark on the data packet and sends it to pc2 in the form of a normal package. In this case, pc1- gt; p2 uses the data sent from vlan10pc2 to access pc1: www.2cto.com pc2, the pvid vlan20 of inter0/2 encapsulates the vlan20 label and sends it to the switch. The switch finds that inter e0/1 allows vlan 20 Data to pass through, so the data is forwarded to inter e0/1, because vlan 20 on inter e0/1 is untagged, the switch removes the vl
eventually stable in the LAN: access/trunk/multi/dot1q-tunnel.
1. access: it is mainly used to access terminal devices, such as PCs, servers, and print servers.2. trunk: it is mainly used to connect to other switches, so that multiple VLANs can be carried online.4. dot1q-tunnel: Used in the Q-in-Q tunnel configuration.
The Cisco network device supports dynamic negotiation of the working status of the port,
eth-trunk Port aggregation for S5700
Link aggregation and port aggregation are port aggregations, and the stack of switches is not related to stacking and port aggregation.
Port Aggregation Concepts: (includes two layer port aggregation and three layer port aggregation)
1. Port aggregation IEEE standards are a link that aggregates up to 16 links into a single logical path. Only 8 of them can be used,
The remaining 8 articles are used as backups.
2. Do
tunnel configuration.Cisco network devices support the working state of a dynamically negotiated port, which provides some convenience for the implementation of network devices (but is not recommended to use dynamic methods). Cisco dynamic negotiation protocol is developed from the initial DISL (Cisco Private Protocol) to DTP (public agreement). Depending on how the dynamic protocol is implemented, the Cisco network Device interface is mainly divided into the following modes:1.
Tags: switch text VPD image configuration Environment ext packet jpg port1. Experiment Name: Special case in trunk only this one!2. Configuration environment: 2 pcs 2 switches3. Configure IP Address: pc1:192.168.1.1/24 pc2:192.168.1.2/244. Connect PC1 switch port configure access mode; Connect PC2 switch port Configure trunk mode5. Configure the command as follows:can also pass-ii.Why is it? Try to change p
Role of the switch serial port (Trunk:
The following two encapsulation types can be used for relay over Ethernet through the serial port of the switch:
-IEEE 802.1Q
-ISL (Inter Switch Link, Cisco private)
Procedure
Step 1: Add a VLAN to the vswitch
Switch1 # vlan database
Switch1 (vlan) # vlan 2
Switch1 (vlan) # vlan 3
Switch1 (vlan) # exit
Step 2: add the interface to the corresponding VLAN
Swital # config terminal
Switch1 (config) # interface fast
practical svn trunk Trunk Auto Merge to each branch branch scriptMost companies that use SVN, when they find bugs or new features, generate a branch branch directly from the trunk trunk, such as BUG01. Then colleague a modifies the bug inside, if the test passes, commits the branch, merges the branch bug01 into the
Configure the trunk of the Mellanox SwitchRecently, the company's internal openstack platform has been migrated to connect mellanox and centec switches. The centec switch has no major difference between cli and Cisco. It is mainly because the mellanox switch does not support native vlan When configuring trunk, but port supports hybrid.
Openstack [standalone: unknown] # show running-config # mellanox switch
contains a cyclic redundancy Verification Code (CRC ). Now let's look back at the differences between 802.1Q and isl: 1. 802.1Q is a public VLAN-TRUNK label, and isl is a Cisco private label. 2. 802.1Q adds the mark to the middle of the Ethernet frame, while isl adds the mark to the beginning and end of the Ethernet frame. 3. the isl mark is 26 bytes longer than the 802.1Q mark. The 802.1Q mark is 4 bytes longer than the 802.1Q mark, and the isl is a
VLAN lab questions:
Answer Process
(1) full connectivity between devices with the same VLAN
1. Create vlan2 and vlan3 on SW1 and sw2 respectively. The command is as follows:
SW1 # VLAN DatabaseSW1 (VLAN) # VLAN 2
2. Route the corresponding interfaces to the corresponding VLAN
SW1 (config) # int F0/1SW1 (config-If) # switchport Mode AccessSW1 (config-If) # switchport access VLAN 2
3. Run the following comm
What is the TRUNK of the core switch? What application advantages can TRUNK bring to us? How to configure the TRUNK in a specific switch product? Let's take a look at these knowledge. An important indicator is often mentioned in the performance parameters of L2 switches: TRUNK. Many L2 Switch products will mention that
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.